import service from "@/utils/request";
export const useStudentLeaveCancel = (data: any) => {
  return service({
    url: `/mobile/student/cancel`,
    method: "POST",
    data,
  });
};
export const useStudentLeaveCreate = (data: any) => {
  return service({
    url: `/mobile/student/create`,
    method: "POST",
    data,
  });
};
export const useStudentLeavePage = (data: any) => {
  return service({
    url: `/mobile/student/page`,
    method: "POST",
    data,
  });
};
